/*** Eclipse Class Decompiler plugin, copyright (c) 2012 Chao Chen (cnfree2000@hotmail.com) ***/
package com.feiyue.basic.reader.dialog;

import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

public class LoadingDialog extends Dialog {
	private Context context;
	private final LayoutInflater layoutInflater;
	public String textInfo = "";
	private TextView textView;
	private View view;

	public LoadingDialog(Context paramContext, int paramInt) {
		super(paramContext, paramInt);
		this.context = paramContext;
		this.layoutInflater = ((LayoutInflater) this.context
				.getSystemService("layout_inflater"));
	}

	public void cancel() {
		super.cancel();
	}

	protected void onCreate(Bundle paramBundle) {
		super.onCreate(paramBundle);
		this.view = this.layoutInflater.inflate(2130903062, null);
		setContentView(this.view);
		this.textView = ((TextView) this.view.findViewById(2131099838));
		if (this.textInfo.equals(""))
			return;
		this.textView.setText(this.textInfo);
	}
}